import { Router } from 'express';

const router = Router();
// 判断是否支持设备
router.post('/Basic', async function(req, res) {
  try {
    console.log(req.body.msg);
    res.json({msg: `I got your msg --- ${req.body.msg}`});
  } catch (e) {
    res.json({ IsSuccess: false, ErrorMsg: `${e.message}` });
  }
});
export default router;